package com.online.college.core.message.service;

import com.online.college.common.page.TailPage;
import com.online.college.core.auth.domain.AuthUser;
import com.online.college.core.message.domain.MessageText;
import sun.rmi.runtime.Log;

import java.util.List;


public interface IMessageTextService {

	/**
	 *根据MessageId获取
	 **/
	public MessageText getByMessageId(Long messageId);

	/**
	 *根据用户ID获取所有
	 **/
	public TailPage<MessageText> queryListByUserId(Long userId,TailPage<MessageText> page);

	/**
	 *创建新记录
	 **/
	public void createSelectivity(MessageText entity);

	/**
	 *修改记录
	 **/
	public void updateSelectivity(MessageText entity);
}

